@import "./default/index.less";
@import "./font/iconfont.css";
@import "./font/icon-demo/iconfont.css";
@import "./setting.less";
@import "./common.less";

@import "./layout/index.less";
@import "./theme.dark.css";

.btn-disabled {
  color: #ccc; 
  cursor: not-allowed;
  user-select: none;
  &:hover {
    color: #ccc; 
    cursor: not-allowed;
  }
}

html::-webkit-scrollbar {
  width: 8px;
}
html::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
html::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.follow-list-container::-webkit-scrollbar {
  width: 8px;
}
.follow-list-container::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}
.follow-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
.follow-list-container::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.name-info-panel-container::-webkit-scrollbar {
  width: 8px;
}
.name-info-panel-container::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}
.name-info-panel-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
.name-info-panel-container::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.form-panel-container .form-collapse::-webkit-scrollbar {
  width: 8px;
}
.form-panel-container .form-collapse::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}
.form-panel-container .form-collapse::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
.form-panel-container .form-collapse::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.solution-panel-container .solution-list-container::-webkit-scrollbar {
  width: 8px;
}
.solution-panel-container .solution-list-container::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}
.solution-panel-container .solution-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
.solution-panel-container .solution-list-container::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.ivu-theme-dark {
  .page-account {
    background-color: #191a23;
    .ivu-input {
      background: rgba(92, 173, 255, 0.2);
      border-color: #3d3d41;
    }
  }

  .name-list-container {
    background-color: #1c1c1e;
    border-right-color: #3d3d41;
    .ivu-list-item.active {
      background-color: rgba(0, 0, 0, 0.7);
    }
    .new-name {
      border-color: #3d3d41 !important;
      &.is-adding {
        background-color: #101c1e !important;
      }
    }
  }

  .global-search-container .search-condition-container {
    .condition {
      background-color: #1c1c1e !important;
      &:before {
        background-color: #1c1c1e !important;
      }
    }
  }

  .name-content-container {
    background-color: #1c1c1e !important;
    position: relative;
    .left-follow-info {
      .follow-info-title {
        border-color: #3d3d41;
      }
      .follow-replies-container {
        background-color: #101c1e !important;
      }
      .follow-input-area {
        border-color: #3d3d41;
      }
      .ivu-checkbox-disabled .ivu-checkbox-inner {
        background-color: #1c1c1e !important;
        border-color: #3d3d41 !important;
      }
    }
    .right-customer-info {
      background-color: #1c1c1e;
      .solution-info-title {
        border-color: #3d3d41;
      }
      .form-info-title {
        &.has-bottom-border {
          border-color: #3d3d41 !important;
        }
      }
    }
  }

  .org-role-container {
    .org-role-tree-container {
      background-color: #1c1c1e !important;
    }
    .org-role-content-container {
      background-color: #1c1c1e !important;
      border-color: #3d3d41 !important;
      .ivu-breadcrumb .last-breadcrumb .ivu-breadcrumb-item-link a {
        color: #fff;
      }
    }
  }

  .remark-panel-container .remark-info-title {
    border-color: #3d3d41 !important;
  }

  .follow-panel-container {
    background-color: #1c1c1e;
  }

  .solution-panel-container .solution-list-container .solution-container:hover {
    border-color: #3d3d41;
  }

  .ivu-input-number-controls-outside-btn {
    background-color: #1c1c1e !important;
    border-right-color: #1c1c1e !important;
  }

  .ivu-input-number-controls-outside-up {
    border-left-color: #1c1c1e !important;
  }

  .ivu-input-number-disabled.ivu-input-number-controls-outside .ivu-input-number-controls-outside-btn {
    cursor: not-allowed;
  }

  .ivu-card:hover {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
    border-color: #000;
  }

  .ivu-table-wrapper-with-border > .ivu-spin-fix {
    border-right: 1px solid #444 !important;
    border-bottom: 1px solid #444 !important;
  }

  .ivu-tree-title-selected, .ivu-tree-title-selected:hover {
    background-color: rgba(0, 0, 0, 2) !important;
  }
}
